package com.ilock.bean;

import java.sql.Timestamp;

/**
 * Ilockstate entity. @author MyEclipse Persistence Tools
 */

public class Ilockstate implements java.io.Serializable {

	// Fields

	private Integer ilockStateNumber;
	private Integer ilockInfoNumber;
	private Integer state;
	private Timestamp lastTime;
	private Double lastLat;
	private Double lastLng;

	// Constructors

	/** default constructor */
	public Ilockstate() {
	}

	/** full constructor */
	public Ilockstate(Integer ilockInfoNumber, Integer state,
			Timestamp lastTime, Double lastLat, Double lastLng) {
		this.ilockInfoNumber = ilockInfoNumber;
		this.state = state;
		this.lastTime = lastTime;
		this.lastLat = lastLat;
		this.lastLng = lastLng;
	}

	// Property accessors

	public Integer getIlockStateNumber() {
		return this.ilockStateNumber;
	}

	public void setIlockStateNumber(Integer ilockStateNumber) {
		this.ilockStateNumber = ilockStateNumber;
	}

	public Integer getIlockInfoNumber() {
		return this.ilockInfoNumber;
	}

	public void setIlockInfoNumber(Integer ilockInfoNumber) {
		this.ilockInfoNumber = ilockInfoNumber;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Timestamp getLastTime() {
		return this.lastTime;
	}

	public void setLastTime(Timestamp lastTime) {
		this.lastTime = lastTime;
	}

	public Double getLastLat() {
		return this.lastLat;
	}

	public void setLastLat(Double lastLat) {
		this.lastLat = lastLat;
	}

	public Double getLastLng() {
		return this.lastLng;
	}

	public void setLastLng(Double lastLng) {
		this.lastLng = lastLng;
	}

}